package cn.com.xiaoshoujia.company.entity;

import java.math.BigDecimal;
import java.util.Date;

public class ComAccountLog {
    private Long id;

    private Long fkComId;

    private Byte transType;

    private Long transId;

    private String transactionNumber;

    private BigDecimal amount;

    private String productName;

    private Long fkProductId;

    private BigDecimal usableBalance;

    private Byte status;

    private Date createTime;

    private Long creatorId;

    private Integer creatorType;

    private String creator;

    private Byte yn;

    private Integer version;

    private String userName;

    private String msg;

    private Byte type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFkComId() {
        return fkComId;
    }

    public void setFkComId(Long fkComId) {
        this.fkComId = fkComId;
    }

    public Byte getTransType() {
        return transType;
    }

    public void setTransType(Byte transType) {
        this.transType = transType;
    }

    public Long getTransId() {
        return transId;
    }

    public void setTransId(Long transId) {
        this.transId = transId;
    }

    public String getTransactionNumber() {
        return transactionNumber;
    }

    public void setTransactionNumber(String transactionNumber) {
        this.transactionNumber = transactionNumber == null ? null : transactionNumber.trim();
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Long getFkProductId() {
        return fkProductId;
    }

    public void setFkProductId(Long fkProductId) {
        this.fkProductId = fkProductId;
    }

    public BigDecimal getUsableBalance() {
        return usableBalance;
    }

    public void setUsableBalance(BigDecimal usableBalance) {
        this.usableBalance = usableBalance;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Integer getCreatorType() {
        return creatorType;
    }

    public void setCreatorType(Integer creatorType) {
        this.creatorType = creatorType;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Byte getYn() {
        return yn;
    }

    public void setYn(Byte yn) {
        this.yn = yn;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg == null ? null : msg.trim();
    }

    public ComAccountLog() {
    }

    public ComAccountLog(Long id, Long fkComId, Byte transType, String transactionNumber,
                         BigDecimal amount, String productName, Long fkProductId, Byte status, Date createTime, Byte yn, Integer version, String userName, String msg, Byte type) {
        this.id = id;
        this.fkComId = fkComId;
        this.transType = transType;
        this.transactionNumber = transactionNumber;
        this.amount = amount;
        this.productName = productName;
        this.fkProductId = fkProductId;
        this.status = status;
        this.createTime = createTime;
        this.yn = yn;
        this.version = version;
        this.userName = userName;
        this.msg = msg;
        this.type = type;
    }
}